{% extends "main.html" %}
{% block content %}
<a href='/new'>Add a link</a> | <a href='/search'>Search link</a><br />
{% for link in links %}
<div class='link_item'>
	<div class='link_title'><a href="/view/{{link.key}}">{{link.title}}</a></div>
	<div class="info">
		<dl>
			<dt>Url:</dt><dd>{{link.url}}</dd>
			<dt>Posted by:</dt><dd>{{link.added_by}}</dd>
			<dt>When:</dt><dd>{{link.added_on}}</dd>
			<dt>Id:</dt><dd>{{link.number}}</dd>	
			<dt>Hash:</dt><dd>{{link.hash}}</dd>	
			<dt>Tags:</dt><dd>{{link.tags}}</dd>
		</dl>
		<br class="clearfix" />	
	</div>
</div>
{% endfor %}{% endblock %}